package com.estate.pojo;

public class Unit {
    private Integer unitId;

    private String unitUnitname;

    private Integer unitFloorid;

    private Integer unitBanid;
    
    //新增的属性
    private Ban ban;//楼栋

    public Ban getBan() {
		return ban;
	}

	public void setBan(Ban ban) {
		this.ban = ban;
	}

	public Integer getUnitId() {
        return unitId;
    }

    public void setUnitId(Integer unitId) {
        this.unitId = unitId;
    }

    public String getUnitUnitname() {
        return unitUnitname;
    }

    public void setUnitUnitname(String unitUnitname) {
        this.unitUnitname = unitUnitname == null ? null : unitUnitname.trim();
    }

    public Integer getUnitFloorid() {
        return unitFloorid;
    }

    public void setUnitFloorid(Integer unitFloorid) {
        this.unitFloorid = unitFloorid;
    }

    public Integer getUnitBanid() {
        return unitBanid;
    }

    public void setUnitBanid(Integer unitBanid) {
        this.unitBanid = unitBanid;
    }
}